package org.jeecg.modules.demo.basememberprojectshop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.basememberprojectshop.entity.BaseMemberProjectShop;
import org.jeecg.modules.demo.basememberprojectshop.entity.ProjectShopInfo;

import java.util.List;

/**
 * @Description: 会员已购买的项目-商品
 * @Author: jeecg-boot
 * @Date: 2022-02-11
 * @Version: V1.0
 */
public interface BaseMemberProjectShopMapper extends BaseMapper<BaseMemberProjectShop> {
    /**
     * 根据项目id查询商品列表
     *
     * @param pageNo
     * @param pageSize
     * @param memberProjectId
     */
    List<ProjectShopInfo> getListByMemberProjectId(@Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize,
                                                   @Param("memberProjectId") String memberProjectId);

}
